/* =============================================================================
   MOBILE CSS - REFACTORIZADO
   ============================================================================= */

/* =============================================================================
   1. CSS VARIABLES & ROOT SETTINGS
   ============================================================================= */
:root {
	/* Used for page min-height dynamically */
	--page-height: 0px;
	--page-margin: 5vw;
	
	/* Color palette */
	--color-primary: #000099;
	--color-primary-hover: #0000cc;
	--color-link: #0033FF;
	--color-dark-blue: #000066;
	--color-white: #ffffff;
	--color-black: #000000;
	--color-gray-light: #f8f9fa;
	--color-gray-border: #e9ecef;
	
	/* Button sizes */
	--btn-size-normal: 40px;
	--btn-size-small: 36px;
}

/* =============================================================================
   2. BASE RESETS & GLOBAL STYLES
   ============================================================================= */
* {
	-webkit-user-select: none;
}

body {
	font-size: 10px;
	margin: 0;
	background-repeat: no-repeat;
}

body.loading {
	overflow: hidden;
}

body.loading .modal {
	display: block;
}

/* Remove default font-style from various elements */
i, cite, em, var, address, fdn {
	font-style: normal;
}

p {
	font-style: normal;
}

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

/* --- Main Text Styles --- */
.TEXTseccioncmodulos {
	font-family: Trebuchet MS;
	font-size: 15px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

.TEXTseccioncmodulosANDROID {
	font-family: Trebuchet MS;
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

.TEXTseccioncmodulosIpad {
	font-family: Trebuchet MS;
	font-size: 20px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

.TEXTseccioncmodulosIPHONE, .textseccioncmodulosiphone {
	font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
	font-size: 18px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

/* --- Title Styles --- */
.TITmediummodulos {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
	color: #0000CC;
	font-size: 17px;
}

.TITmediummodulosIpad {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
	color: #0000CC;
	font-size: 20px;
}

.TITmediummodulosIPHONE {
	font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
	color: var(--color-link);
	font-size: 16px;
}

.TITmediummodulosIPHONE:visited {
	color: var(--color-link);
}

.TEXTitleIpad {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	font-size: 20px;
}

.TEXTitle {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	font-size: 18px;
}

.TitleBigBreakNews {
	font-family: Trebuchet MS;
	font-style: normal;
	font-weight: bold;
	text-align: left;
	text-decoration: underline;
	color: #0000CC;
	font-size: 15px;
}

/* --- Subtitle Styles --- */
.TEXTSubTituloRanking {
	font-size: 14px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTSubTituloRankingIpad {
	font-size: 17px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTSubTituloRankingIPHONE {
	font-size: 18px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
}

.SubtitleBigBreakingNews {
	font-size: 12px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

.TextBigSubTitleRanking {
	font-size: 12px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

/* --- Index/Ranking Text Styles --- */
.TEXTIndiceRanking {
	font-weight: bold;
	font-size: 12px;
	margin: 1pt 1pt 1pt 3pt;
	color: var(--color-dark-blue);
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTIndiceRankingIpad {
	font-weight: bold;
	font-size: 19px;
	margin: 1pt 1pt 1pt 3pt;
	color: var(--color-dark-blue);
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTIndiceRankingIPHONE {
	font-weight: bold;
	font-size: 18px;
	margin: 1pt 1pt 1pt 3pt;
	color: var(--color-dark-blue);
	font-style: normal;
	font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
}

.TextBigIndicesRanking {
	font-weight: bold;
	font-size: 14px;
	margin: 1pt 1pt 1pt 3pt;
	color: var(--color-dark-blue);
	font-style: normal;
	font-family: Trebuchet MS;
}

/* --- Section Module Styles --- */
.SectionModulosBig {
	font-family: Trebuchet MS;
	font-size: 15px;
	font-style: normal;
	font-weight: bold;
	color: var(--color-dark-blue);
	margin: 1pt 1pt 1pt 3pt;
}

/* --- Body Text Styles --- */
.TEXTbajadapmodulos {
	font-weight: normal;
	font-size: 9px;
	margin: 0;
	color: var(--color-black);
	font-style: normal;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
}

.TEXTbajadapSup {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	color: var(--color-black);
	margin: 0pt 1pt 0pt 3pt;
	letter-spacing: 1px;
}

.TEXTbajadap {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: normal;
	color: var(--color-black);
	margin: 0pt 1pt 0pt 3pt;
	letter-spacing: 1px;
}

.TEXTCJ {
	font-weight: bold;
	font-size: 16px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

.TEXTMOD_IPAD {
	font-weight: bold;
	font-size: 16px;
	margin: 1pt 1pt 1pt 3pt;
	color: Black;
	font-style: normal;
	font-family: Trebuchet MS;
}

/* --- Detail Page Label Styles --- */
.lbl_ipadTitleDetail_style, .lbl_ipadtitledetail_style {
	font-weight: bold;
	font-size: 30px;
	font-family: arial;
}

.lbl_ipadTextDetail_style, .lbl_ipadtextdetail_style {
	font-size: 20px;
	font-family: arial;
	font-style: normal;
}

.lbl_ipadSubTitleDetail_style, .lbl_ipadsubtitledetail_style {
	font-size: 24px;
	font-family: arial;
	font-style: normal;
	font-weight: bold;
}

.lbl_TitleDetail_style, .lbl_titledetail_style {
	font-size: 24px;
	font-family: arial;
	font-style: normal;
	font-weight: bold;
}

.lbl_TitleDetail_style p {
	margin-top: 2px;
	margin-bottom: 2px;
}

.lbl_SubTitleDetail_style, .lbl_subtitledetail_style {
	font-size: 20px;
	font-family: arial;
	font-style: normal;
	text-align: justify;
	text-justify: inter-cluster;
	margin-left: 0;
	margin-right: 7px;
	font-weight: bold;
}

.lbl_BajadaNota_style {
	font-size: 18px;
	font-family: Verdana;
	font-style: normal;
	text-align: justify;
	text-justify: inter-cluster;
	margin-left: 0;
	margin-right: 7px;
}

.lbl_textNewsDetail_style, .lbl_textnewsdetail_style {
	font-size: 22px;
	font-family: arial;
	font-style: normal;
	text-align: justify;
	text-justify: inter-cluster;
	margin-left: 12px;
	margin-right: 12px;
}

.lbl_textNewsDetail_style_ITA p {
	font-style: italic;
}

.lbl_textDetail_style, .lbl_textdetail_style {
	font-size: 18px;
	font-family: arial;
	font-style: normal;
	text-align: justify;
	text-justify: inter-cluster;
	margin-left: 4px;
	margin-right: 4px;
}

/* --- Misc Font Styles --- */
.verd {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

a.texto {
	font-size: 9px;
	color: #16125F;
}

.verdana_alert {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: var(--color-dark-blue);
	font-size: 10px;
	font-weight: bold;
}

.blink {
	text-decoration: blink;
}

/* =============================================================================
   4. LAYOUT COMPONENTS
   ============================================================================= */

/* --- Alignment --- */
.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

/* --- Margins --- */
.class10x5 {
	margin-left: 10px;
	margin-right: 5px;
}

.class5x10 {
	margin-left: 5px;
	margin-right: 10px;
}

/* --- Containers --- */
div.container a {
	display: block;
	text-decoration: none;
}

.MarcoTablaAcceso {
	background-color: #FCFCFC;
	border: 1px solid #CCCCCC;
}

.TITULAR {
	margin: 1pt 1pt 1pt 3pt;
}

/* --- Logos --- */
.logoIPAD {
	width: 50%;
	border: 0;
	text-align: center;
	text-decoration: none;
}

.logoAndroid, .logoMobile {
	width: 80%;
	border: 0;
	text-align: center;
	text-decoration: none;
}

.logo_revista {
	width: 90%;
	text-align: left;
	float: left;
	margin-bottom: 10px;
}

/* --- Image Containers --- */
.Imagen {
	border-color: var(--color-black);
	float: none;
}

#grande800 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	border-width: 0;
	float: left;
	margin-bottom: 5px;
	width: 251px;
}

#grande1024 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	border-width: 0;
	float: left;
	margin-bottom: 5px;
	width: 330px;
}

#grande1280 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 5px;
	float: left;
	width: 420px;
	border-width: 0;
}

.divfoto800 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 5px;
	float: left;
	position: relative;
	height: 335px;
	width: 250px;
}

.divfoto1024 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 5px;
	float: left;
	position: relative;
	height: 420px;
	width: 324px;
}

.divfoto1280 {
	margin-left: 1px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 5px;
	float: left;
	position: relative;
	height: 558px;
	width: 415px;
}

/* --- Offset (Hidden element positioning) --- */
.offset {
	position: absolute;
	top: -10000px;
	left: -10000px;
}

/* --- White Popup --- */
.white-popup {
	position: relative;
	background: var(--color-white);
	padding: 20px;
	width: auto;
	max-width: 500px;
	margin: 20px auto;
}

/* =============================================================================
   5. FORM ELEMENTS
   ============================================================================= */

/* --- Input Fields --- */
.input_txt {
	font-size: 8pt;
	height: 16px;
	border: 1px solid #83878c;
	color: var(--color-black);
	background-color: var(--color-white);
}

.input_txtBig {
	font-size: 16pt;
	height: 30px;
	border: 1px solid #83878c;
	color: var(--color-black);
	background-color: var(--color-white);
}

/* --- Dropdowns --- */
.dropDown_style {
	font-size: 9pt;
	border: 1px solid #83878c;
	color: var(--color-black);
	background-color: var(--color-white);
}

.dropDown_Big {
	font-size: 16pt;
	font-family: Trebuchet MS;
	border: 1px solid #83878c;
	color: var(--color-black);
	background-color: var(--color-white);
}

/* --- Labels --- */
.lblTit_style {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: var(--color-black);
	font-weight: bold;
}

.lbl_style {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: var(--color-black);
}

.lbl_styleBig {
	font-family: Trebuchet MS;
	font-style: normal;
	font-size: 20px;
}

/* --- Checkboxes & Radio Buttons --- */
.checkBox_style {
	width: 20px;
	height: 20px;
}

.radioButton_style {
	width: 20px;
	height: 20px;
}

/* --- Buttons --- */
.input_btn {
	font-size: 11px;
	background: url("/Style Library/Images/button-bg.gif") center center;
	cursor: hand;
	color: navy;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	font-weight: bold;
	left: auto;
	top: auto;
	height: 21px;
	border: 1px solid navy;
	margin-left: 2px;
	margin-right: 2px;
}

.input_Btn_Bigger {
	font-size: 20px;
	background: url("/Style Library/Images/button-bg.gif") center center;
	cursor: hand;
	color: navy;
	font-family: Trebuchet MS;
	text-decoration: none;
	font-weight: bold;
	left: auto;
	top: auto;
	height: 30px;
	border: 1px solid navy;
	margin-left: 2px;
	margin-right: 2px;
}

/* --- Error Messages --- */
.ErrorMassage {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: Red;
	text-decoration: none;
	font-weight: bold;
	padding: 5px 0;
	font-size: 11px;
	text-align: center;
}

#error {
	display: none;
	border: 2px dotted red;
	position: fixed;
	z-index: 1000;
	top: 20px;
	left: 0;
	height: 10%;
	width: 100%;
	background: rgba(255, 255, 255, 0.9);
	text-align: center;
	line-height: 40px;
	min-height: 40px;
	font-size: 16px;
	color: red;
	font-weight: bold;
}

/* =============================================================================
   6. NAVIGATION & UI COMPONENTS
   ============================================================================= */

/* --- Links --- */
A:link {
	color: var(--color-link);
}

A:hover {
	color: var(--color-link);
}

A:visited {
	color: var(--color-link);
}

.link_text {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: var(--color-black);
}

.link_text.hover {
	color: var(--color-black);
}

/* --- Link Header Styles --- */
.linkHeader_Android, .linkPrev_Rank, .linkHeader_Ipad {
	text-align: center;
	background-color: var(--color-white);
	font-weight: bold;
	color: var(--color-link);
}

.linkHeader_Ipad a, .linkHeader_Android a, .linkPrev_Rank a {
	font-weight: bold;
	font-family: Times New Roman Baltic;
	background-color: var(--color-white);
	text-decoration: underline;
	color: var(--color-link);
}

.linkPrev_Rank {
	font-size: 18px;
}

.linkHeader_Ipad {
	font-size: 29px;
}

.linkHeader_Android:link, .linkPrev_Rank:link, .linkHeader_Ipad:link {
	color: var(--color-link);
	font-weight: bold;
	background-color: var(--color-white);
	font-family: Times New Roman Baltic;
}

.linkHeader_Android:visited, .linkPrev_Rank:visited, .linkHeader_Ipad:visited {
	color: var(--color-link);
	font-weight: bold;
	background-color: var(--color-white);
	font-family: Times New Roman Baltic;
}

.linkHeader_Android:hover, .linkPrev_Rank:hover, .linkHeader_Ipad:hover {
	color: var(--color-link);
	font-weight: bold;
	font-family: Times New Roman Baltic;
	background-color: var(--color-white);
}

.linkHeader_Android:active, .linkPrev_Rank:active, .linkHeader_Ipad:active {
	color: var(--color-link);
	font-weight: bold;
	font-family: Times New Roman Baltic;
	background-color: var(--color-white);
}

.linkHeader_Android:visited, .linkHeader_Ipad_Icon.link, .linkHeader_Ipad:visited, .linkHeader_Ipad:hover, .linkHeader_Ipad:active {
	font-weight: bold;
	font-family: Times New Roman Baltic;
	border: none;
	border-color: var(--color-white);
	border-width: 0;
}

.linkHeader_Android {
	font-size: 20px;
	text-decoration: underline;
}

#LinkAndroidIcon {
	display: none;
	padding-top: 3px;
	z-index: 1000;
}

/* --- Headers & Footers --- */
.header {
	font-size: 20px;
	color: white;
	background-color: #000064;
	font-weight: bold;
	font-family: Helvetica;
	text-align: center;
	vertical-align: middle;
}

.footer {
	font-size: 14px;
	color: #000064;
	background-color: #dcdcdc;
	font-weight: bold;
	font-family: Helvetica;
	text-align: center;
}

.headerGrid {
	font-weight: bold;
	font-size: 12px;
	margin: 1pt 1pt 1pt 3pt;
	background-color: var(--color-dark-blue);
	color: var(--color-white);
	font-style: normal;
	font-family: Trebuchet MS;
}

/* --- Top & Bottom Bars --- */
#topBar, #bottomBar {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#topBarFirstPage img, #topBar img, #bottomBar img {
	width: 30px;
}

/* --- Current Page Selector --- */
#currentPage {
	text-align: right;
	margin-right: 1.5em;
}

#selectPage {
	border: 1px solid #d6d6d6;
	padding: 0;
	margin: 0 0 0 1em;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.3em;
	color: var(--color-link);
	text-decoration: underline;
	width: 130px;
	background: url(/lunmobileiphone/images/selectPage1.png) no-repeat right center;
	padding: 0 10px;
	-webkit-appearance: none;
	text-align: right;
	padding-right: 30px;
	border: none;
}

select option:hover,
select option:focus,
select option:active,
select option:checked {
	border: 1px solid #d6d6d6;
}

#LblSelectPage {
	width: 46px;
	background-color: blue;
	height: 19px;
	border: 1px solid gray;
	color: white;
	position: absolute;
	left: 75%;
	font-size: 16px;
	padding: 0 5px;
}

#selectPage .lt {
	text-align: left;
}

/* --- Speed Box / Signal Indicators --- */
.bar-1, .bar-2, .bar-3, .bar-4, .bar-5, #speedbox {
	width: 40px;
	height: 30px;
}

.bar-1 {
	background-image: url(/lunmobileiphone/img/1.png);
	background-size: 40px;
}

.bar-2 {
	background-image: url(/lunmobileiphone/img/2.png);
	background-size: 40px;
}

.bar-3 {
	background-image: url(/lunmobileiphone/img/3.png);
	background-size: 40px;
}

.bar-4 {
	background-image: url(/lunmobileiphone/img/4.png);
	background-size: 40px;
}

.bar-5 {
	background-image: url(/lunmobileiphone/img/5.png);
	background-size: 40px;
}

/* --- Notes Div (Tooltip style) --- */
.divNotas {
	font-family: Trebuchet MS;
	font-size: 11px;
	font-weight: bolder;
	color: var(--color-white);
	line-height: 1.5;
	border: 1px solid var(--color-black);
	padding: 0;
	position: absolute;
	background-color: white;
	visibility: hidden;
	opacity: 0.75;
	-moz-opacity: 0.75;
	filter: alpha(opacity=75);
}

/* --- Install Button --- */
.instalar {
	display: none;
	padding-top: 3px;
	margin-left: -150px;
}

#off-icon {
	float: right;
	height: 35px;
	top: 0;
	padding: 6px 5px 1px 5px;
	position: absolute;
	right: 0;
	border-left: 1px solid gray;
	display: none;
}

/* =============================================================================
   7. CONTENT COMPONENTS
   ============================================================================= */

/* --- Content Slider --- */
.contentSlider {
	width: 100%;
}

/* --- Message Styles --- */
.msjFlaGet {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #FF0000;
	cursor: hand;
}

.msjFla {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: var(--color-black);
	cursor: hand;
}

/* --- Ads/Ranking Styles --- */
.ads_rank {
	margin-right: 5px;
}

.ads_rank img {
	border: 1px solid gray;
}

.imgsRanking {
	width: 99%;
	height: auto;
	margin-bottom: 5px;
	border-color: var(--color-black);
	float: none;
	clear: both;
}

/* --- Ranking Lite Section --- */
#contenedor_nota_ranking {
	float: left;
	width: 94%;
	padding: 5px 22px 5px 5px;
	border-bottom: 1px solid #ccc;
}

#contenedor_nota_ranking_titulo {
	float: left;
	width: 94%;
	padding: 0 22px 0 5px;
	border-bottom: 1px solid #ccc;
}

.contenedor_der_nota_rank {
	float: right;
	width: 50%;
}

.contenedor_nota_ranking_img {
	float: left;
	margin-right: 2px;
	overflow: hidden;
	height: 105px;
	margin-bottom: 2px;
}

.contenedor_der_nota_rank_lar {
	float: left;
	width: 100%;
	margin-top: 5px;
}

/* --- General Ads --- */
.gads {
	text-align: center;
	border: 1px solid black;
	width: 100%;
	height: 50px;
	float: left;
	font-size: 20px;
	line-height: 200%;
}

/* --- Ranking Specific --- */
#Dranking {
	-webkit-backface-visibility: hidden;
}

#Dranking div#img_nota {
	display: block;
	float: left;
	margin-right: 2px;
	overflow: hidden;
	max-height: 160px;
	margin-bottom: 2px;
	width: 46%;
}

/* --- Arrows for Navigation --- */
#f_izq {
	float: left;
	position: relative;
}

#f_mid {
	float: left;
	width: 50%;
	position: relative;
	top: 14px;
	height: 13px;
	background-color: var(--color-black);
	left: -7%;
}

#f_der {
	float: left;
	position: relative;
	left: -14%;
}

#flechas {
	width: 100%;
	left: 23%;
	position: relative;
}

/* --- Banner/Contest Sections --- */
#banner_concurso {
	text-align: center;
	margin-bottom: 3px;
	border-radius: 25px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	overflow: hidden;
	position: relative;
}

#banner_concurso_ganador {
	text-align: center;
	border: 1px solid gray;
	margin-bottom: 10px;
	border-radius: 10px;
	background: #165a9d;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	overflow: hidden;
	position: relative;
	color: white;
}

#banner_concurso iframe {
	webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	width: 100%;
	height: 150px;
	border: 0;
	margin: -4px;
	padding: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

#link_banner {
	display: none;
}

/* --- Scroll Added Elements --- */
.jscroll-added {
	margin: 0 auto;
	position: relative;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 1;
}

/* --- Next Page Button --- */
.nextpage {
	width: 100%;
	text-align: center;
	height: 40px;
	border: 1px solid #CCC;
	display: block;
	font-size: 20px;
	padding: 10px;
}

/* --- Page Containers --- */
div[id^='DivFirst'] {
	height: auto;
}

div[id^='page'] {
	min-height: 320px;
}

div[id^='addedPage'] {
	min-height: 320px;
}

/* --- Slide Animation --- */
#slideanim {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: url(omnidirectional_swipe.png) 50% 100% no-repeat;
}

#prevSlide {
	overflow: hidden;
}

/* =============================================================================
   8. PRELOADERS & ANIMATIONS
   ============================================================================= */

/* --- Keyframe Animations --- */
@-webkit-keyframes progress {
	to {
		background-position: 30px 0;
	}
}

@-moz-keyframes progress {
	to {
		background-position: 30px 0;
	}
}

@keyframes progress {
	to {
		background-position: 30px 0;
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* --- Preloader Styles --- */
.preload_16 {
	background: url(preload_16.gif) center no-repeat;
	width: 16px;
	height: 16px;
	position: absolute;
	z-index: 1001;
	margin-top: 50%;
	left: 48%;
	border: #ddd solid 1px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}

.preload_128 {
	background: url(loading_big.gif) center no-repeat;
	width: 128px;
	height: 128px;
	position: absolute;
	z-index: 1001;
	top: 50%;
	left: 50%;
}

.preloader img[id^='DetailPageMobile'] {
	-webkit-backface-visibility: hidden;
	background: url(loading_big.gif) 50% 50% no-repeat;
}

/* --- Progress Bar --- */
.progress #msg {
	font-size: 15px;
	font-family: Trebuchet MS, Verdana, Geneva, sans-serif;
	text-align: center;
}

.barBg {
	background: #ccc;
	width: 100%;
	height: 5px;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	margin-bottom: 0;
}

.bar {
	background: #7aff32;
	height: 5px;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

.barFill {
	font-family: Verdana, Geneva, sans-serif;
	width: 100%;
	height: 5px;
	border-radius: 0;
	color: white;
	text-align: center;
	vertical-align: middle;
	-webkit-animation: progress 1s linear infinite;
	-moz-animation: progress 1s linear infinite;
	animation: progress 1s linear infinite;
	background-repeat: repeat-x;
	background-size: 30px 30px;
	background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
	background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.barColor {
	background-color: #00C;
	box-shadow: inset 0 0 6px 2px rgba(255, 255, 255, .3);
}

/* =============================================================================
   9. MODALS & OVERLAYS
   ============================================================================= */

/* --- Basic Modal --- */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 95%;
	left: 0;
	height: 100%;
	width: 100%;
	background: url(ajax-loader.gif) 50% 0% no-repeat;
}

/* --- Opacity Overlay --- */
.opacity {
	background-color: white;
	opacity: 0.6;
	filter: alpha(opacity=60);
	width: 100%;
	height: 70px;
}

/* --- Gradient Div --- */
.divGradient {
	background: -webkit-linear-gradient(gray, white);
	background: -o-linear-gradient(gray, white);
	background: -moz-linear-gradient(gray, white);
	background: linear-gradient(gray, white);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* =============================================================================
   10. TOOLBAR COMPONENTS
   ============================================================================= */

/* --- Article Toolbar Styles --- */
.article-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 8px;
	background-color: var(--color-gray-light);
	border-radius: 8px;
	border: 1px solid var(--color-gray-border);
	margin: 10px 0;
}

.toolbar-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--btn-size-normal);
	height: var(--btn-size-normal);
	border: none;
	border-radius: 6px;
	background-color: var(--color-primary);
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
}

.toolbar-btn:hover {
	background-color: var(--color-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 153, 0.3);
}

.toolbar-btn:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 0, 153, 0.3);
}

.toolbar-btn-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--btn-size-normal);
	height: var(--btn-size-normal);
	border-radius: 6px;
	background-color: var(--color-primary);
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	position: relative;
}

.toolbar-btn-link:hover {
	background-color: var(--color-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 153, 0.3);
}

.toolbar-btn-link:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 0, 153, 0.3);
}

.toolbar-icon {
	width: 21px;
	height: 21px;
	fill: white;
	flex-shrink: 0;
}

.toolbar-icon-linkia {
	width: 30px;
	height: 30px;
	fill: white;
	flex-shrink: 0;
}

/* --- Responsive Voice Icon States --- */
.rv_icon_s .toolbar-btn-link {
	background-color: var(--color-primary);
}

.rv_icon_s .rv-icon-play {
	display: none;
}

.rv_icon_s .rv-icon-stop {
	display: block;
}

.rv_icon .rv-icon-stop {
	display: none;
}

.rv_icon .rv-icon-play {
	display: block;
}

.rv_icon svg {
	width: 28px;
	height: 28px;
}

.rv_icon_s svg {
	width: 28px;
	height: 28px;
}

/* --- Page Toolbar (for newspaper pages - Link IA icon) --- */
.page-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	background: transparent;
	margin-bottom: 0;
	min-height: 0;
	height: auto;
}

.page-toolbar-icons {
	display: flex;
	align-items: center;
	gap: 6px;
}

.page-toolbar-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	text-decoration: none;
	line-height: 0;
}

.page-toolbar-btn:active {
	transform: scale(0.95);
	background: #f3f4f6;
}

.page-toolbar-btn svg {
	display: block;
	width: 48px;
	height: 24px;
}

/* --- Unified Link IA Compact Button (No Border) --- */
.linkia-btn-compact {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	background: var(--color-white);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	line-height: 1;
}

.linkia-text-compact {
	font-family: Arial, sans-serif;
	font-size: 15px;
	font-weight: bold;
	color: var(--color-primary);
	white-space: nowrap;
	text-decoration: underline;
}

.linkia-icon-compact {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	display: block;
	margin-left: -5px;
}

/* =============================================================================
   11. ADVERTISEMENT STYLES (GLOBALIZED FROM Z-FOLD)
   ============================================================================= */

/* --- Info Ads Section (Base Styles - Apply to ALL devices) --- */
#info_ads, #info_visible {
	width: 100%;
	margin: 0;
	font-family: Verdana;
	font-size: 150%;
	text-align: center;
	margin-right: 5px;
}

#info_ads {
	display: none;
}

#info_visible {
	display: block;
}

#mas_info {
	width: 100%;
	text-align: center;
}

.mas_info {
	background-color: blue;
	text-align: center;
	cursor: pointer;
	height: 35px;
	width: 250px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 150%;
	margin: 10px;
	color: var(--color-white);
	font-weight: bold;
}

/* --- Contact/Social Section (UNIFIED STYLE - Apply to ALL devices) --- */
.contact-button {
	font-size: 16px;
	width: 100%;
	margin: 0;
	padding: 5px;
	color: var(--color-primary);
	text-decoration: underline;
	font-weight: bold;
	text-align: center;
	border: 0;
	vertical-align: middle;
	background-color: transparent;
}

.contact_cell {
	height: auto;
	vertical-align: middle;
	line-height: 20px;
	text-align: left;
	display: block;
}

.contact_cell img {
	height: 30px;
	vertical-align: middle;
}

#contacto_ads img {
	height: 30px;
	vertical-align: middle;
}

div.contacto_ads:before {
	content: url(/lunmobileiphone/Style20%Library/Images/call_icon_50x50.png);
}

#social ul {
	list-style-type: none;
	text-align: center;
	margin: 0;
	text-align: left;
	padding-left: 0;
}

#social li {
	display: inline;
	text-align: center;
	padding-right: 10px;
}

#social li img {
	height: 30px;
}

/* --- AI Share Container (Base Styles - Apply to ALL devices) --- */
.ai-share-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: nowrap;
	width: 100%;
}

.ai-share-container .contact-button {
	margin: 0;
	flex-shrink: 0;
}

/* --- Hide Phone Number Globally --- */
#telefono, #telefono img {
	display: none !important;
}

/* --- Product Display --- */
#producto_img img {
	width: 100%;
	height: auto;
	min-height: 200px;
	border: 1px solid var(--color-white);
}

#producto_img {
	width: 100%;
	float: left;
	text-align: right;
	padding-right: 15px;
}

#producto_desc {
	width: 65%;
	float: left;
	text-align: left;
}

.product_cell {
	background-color: rgb(204, 204, 204);
	padding: 10px 0;
	border-bottom: 1px solid #666;
	width: 100%;
	height: auto;
	min-height: 200px;
	float: left;
}

/* --- Video Links --- */
p[id='DetailPageMobile1_VideoDiv'] {
	display: block;
}

#DetailPageMobile1_lstNewsDetail_ctl00_pAudioVideo a {
	padding-left: 15px;
}

#video_link a {
	padding-left: 15px;
}

#video_link img {
	width: 35px;
}

/* =============================================================================
   12. SPECIAL COMPONENTS (Gallery, AI Resume, AI Share Modal)
   ============================================================================= */

/* --- Gallery Images in News Detail --- */
.leftArrowGallery {
	position: absolute;
	width: 24px;
	left: 0;
	align: left;
	float: left;
	margin-right: 6px;
	z-index: 100;
	opacity: 0.8;
	filter: alpha(opacity=30);
}

.rightArrowGallery {
	position: absolute;
	width: 24px;
	right: 0;
	align: right;
	float: right;
	margin-right: 6px;
	z-index: 100;
	opacity: 0.8;
	filter: alpha(opacity=30);
}

/* --- Gallery Button at Homepage --- */
.homeGalleryBtn {
	background-color: blue;
	text-align: center;
	cursor: pointer;
	height: 35px;
	width: 180px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 150%;
	margin: 10px;
	color: var(--color-white);
	font-weight: bold;
}

/* --- AI Resume/Summary Section --- */
#DivResumen {
	border: 2px solid var(--color-primary);
	border-radius: 20px;
	width: 90%;
	position: relative;
	margin: 30px auto 20px;
	box-sizing: border-box;
	background-color: white;
}

#DivResumen summary {
	list-style: none;
	padding: 20px 60px 20px 20px;
	cursor: pointer;
	font-weight: bold;
	align-items: center;
}

#DivResumen[open] summary {
	padding: 0 0 10px 20px;
}

#DivResumen summary::-webkit-details-marker {
	display: none;
}

#DivResumen summary::before {
	content: "";
	position: absolute;
	top: -23px;
	left: 18px;
	width: 56px;
	height: 45px;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com" viewBox="0 0 500 500"><defs><linearGradient bx:pinned="true" id="a" gradientTransform="translate(-3)" gradientUnits="userSpaceOnUse"><stop style="stop-color:%23009"/></linearGradient></defs><path d="M375.974 108.598v256h-256v-256h256Zm-148.251 64h-24.931l-47.334 128h22.493l8.936-25.023h56.662l8.745 25.023h23.847l-48.418-128Zm88.345 0h-22.402v128h22.402v-128Zm-100.999 21.475 22.314 63.858h-44.274l21.96-63.858Zm182.238 106.525h42.667v42.667h-42.667v-42.667Zm-256 85.333h42.667v42.667h-42.667v-42.667Zm85.334 0h42.666v42.667h-42.666v-42.667ZM141.307 44.598h42.667v42.667h-42.667V44.598Zm170.667 341.333h42.667v42.667h-42.667v-42.667ZM226.641 44.598h42.666v42.667h-42.666V44.598Zm85.333 0h42.667v42.667h-42.667V44.598Zm85.333 170.667h42.667v42.666h-42.667v-42.666ZM55.974 300.598h42.667v42.667H55.974v-42.667Zm341.333-170.667h42.667v42.667h-42.667v-42.667ZM55.974 215.265h42.667v42.666H55.974v-42.666Zm0-85.334h42.667v42.667H55.974v-42.667Z" style="fill:url(%23a)"/></svg>');
	background-repeat: no-repeat;
	background-size: contain;
	background-color: white;
	background-position-x: 8px;
}

#DivResumen summary::after {
	content: "Ver";
	position: absolute;
	right: 20px;
	top: 0;
	transform: translateY(-50%);
	background-color: var(--color-primary);
	color: white;
	padding: 5px 10px;
	border-radius: 15px;
	font-size: 0.8em;
	transition: background-color 0.3s ease;
}

#DivResumen[open] summary::after {
	content: "Ocultar";
	background-color: var(--color-primary-hover);
}

#DivResumen .resumen-content {
	padding: 0 10px 10px;
	margin: 10px;
}

#DivResumen p {
	text-align: justify;
	margin: 0;
}

#DivResumen:has(.lbl_BajadaNota_style:empty) {
	display: none;
}

#DivResumen .lbl_BajadaNota_style:empty {
	display: none;
}

#DivResumen .lbl_BajadaNota_style:empty ~ * {
	display: none;
}

.teaser {
	margin-left: 10px;
	color: black;
	max-width: 70%;
	font-weight: normal;
}

#DivResumen[open] .teaser {
	display: none;
}

/* --- AI Share Modal --- */
#ai-share-modal.ai-share-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 99999 !important;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#ai-share-modal.ai-share-modal.show {
	opacity: 1 !important;
	visibility: visible !important;
	transition: opacity 0.25s ease, visibility 0s linear 0s;
}

#ai-share-modal .ai-share-overlay {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0, 0, 0, 0.6) !important;
	-webkit-tap-highlight-color: transparent;
}

#ai-share-modal .ai-share-sheet {
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	background: white !important;
	border-radius: 8px 8px 0 0 !important;
	max-height: 85vh !important;
	min-height: 200px !important;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15) !important;
	display: flex !important;
	flex-direction: column !important;
	transform: translate3d(0, 100%, 0);
	transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
	will-change: transform;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 100%, 0);
	-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#ai-share-modal.show .ai-share-sheet {
	transform: translate3d(0, 0, 0) !important;
	-webkit-transform: translate3d(0, 0, 0) !important;
}

#ai-share-modal .ai-share-header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 20px 24px 16px 24px !important;
	border-bottom: 1px solid #e5e7eb !important;
	background: white !important;
	border-radius: 8px 8px 0 0 !important;
	flex-shrink: 0 !important;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

#ai-share-modal .ai-share-header h3 {
	margin: 0 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
}

#ai-share-modal .ai-share-close {
	background: none !important;
	border: none !important;
	font-size: 24px !important;
	cursor: pointer !important;
	color: #6b7280 !important;
	padding: 4px !important;
	width: 32px !important;
	height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 4px !important;
	transition: background-color 0.2s ease !important;
	-webkit-tap-highlight-color: transparent;
}

#ai-share-modal .ai-share-close:active {
	background: #f3f4f6 !important;
}

#ai-share-modal .ai-share-apps {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 16px !important;
	padding: 24px !important;
	background: white !important;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

#ai-share-modal .ai-app-item {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	padding: 16px 8px !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, transform 0.1s ease !important;
	background: #f9fafb !important;
	border: 1px solid #e5e7eb !important;
	-webkit-tap-highlight-color: transparent;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

#ai-share-modal .ai-app-item:active {
	background: #f3f4f6 !important;
	transform: scale(0.96) translateZ(0) !important;
	-webkit-transform: scale(0.96) translateZ(0) !important;
}

#ai-share-modal .ai-app-icon {
	margin-bottom: 8px !important;
}

#ai-share-modal .ai-app-name {
	font-size: 13px !important;
	color: #374151 !important;
	text-align: center !important;
	font-weight: 500 !important;
}

.ai-share-trigger {
	flex-shrink: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: var(--color-white) !important;
	border: 0 !important;
	padding: 4px !important;
	cursor: pointer !important;
	transition: transform 0.1s ease, background-color 0.2s ease !important;
	margin-left: 8px !important;
	-webkit-tap-highlight-color: transparent;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	line-height: 0 !important;
	min-width: auto !important;
	min-height: auto !important;
}

.ai-share-trigger:active {
	background: #f3f4f6 !important;
	transform: scale(0.95) translateZ(0) !important;
	-webkit-transform: scale(0.95) translateZ(0) !important;
}

.ai-share-trigger svg {
	display: block !important;
	width: 48px !important;
	height: 24px !important;
}

.ai-share-instructions {
	padding: 20px 24px 0 24px !important;
	text-align: left;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
	flex: 1 !important;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

.ai-share-intro {
	font-size: 16px !important;
	color: #374151 !important;
	margin: 0 0 20px 0 !important;
	line-height: 1.5 !important;
	text-align: center !important;
	font-weight: 500 !important;
}

.ai-share-apps-preview {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 12px !important;
	margin: 20px 0 24px 0 !important;
}

.ai-app-preview {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	padding: 12px 8px !important;
	border-radius: 8px !important;
	background: #f9fafb !important;
	border: 1px solid #e5e7eb !important;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

.ai-app-preview .ai-app-icon {
	margin-bottom: 8px !important;
}

.ai-app-preview .ai-app-name {
	font-size: 12px !important;
	color: #374151 !important;
	text-align: center !important;
	font-weight: 500 !important;
}

.ai-share-steps {
	font-size: 15px !important;
	color: #4b5563 !important;
	margin: 20px 0 !important;
	line-height: 1.6 !important;
	background: #f9fafb !important;
	padding: 16px !important;
	border-radius: 6px !important;
}

.ai-share-steps strong {
	color: #1f2937 !important;
	display: block !important;
	margin-bottom: 8px !important;
	font-size: 16px !important;
}

.ai-share-note {
	font-size: 14px !important;
	color: #6b7280 !important;
	margin: 20px 0 !important;
	line-height: 1.6 !important;
	background: #fefce8 !important;
	padding: 16px !important;
	border-radius: 6px !important;
}

.ai-share-note strong {
	color: #1f2937 !important;
	display: block !important;
	margin-bottom: 8px !important;
	font-size: 15px !important;
}

.ai-share-actions {
	padding: 20px 24px 24px 24px !important;
	background: white !important;
	border-top: 1px solid #e5e7eb !important;
	flex-shrink: 0 !important;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

.ai-share-proceed {
	width: 100% !important;
	background: var(--color-primary) !important;
	color: white !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 16px 24px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, transform 0.1s ease !important;
	-webkit-tap-highlight-color: transparent;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

.ai-share-proceed:active {
	background: #2563eb !important;
	transform: scale(0.98) translateZ(0) !important;
	-webkit-transform: scale(0.98) translateZ(0) !important;
}

.ai-share-screenshot {
	max-width: 100% !important;
	height: auto !important;
	border-radius: 8px !important;
	margin: 20px auto !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
	display: block !important;
}

.ai-share-steps-container {
	margin: 20px 0 !important;
}

.ai-share-steps-container h4 {
	margin: 0 0 16px 0 !important;
	color: #1f2937 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
}

.ai-share-step {
	display: flex !important;
	align-items: flex-start !important;
	margin-bottom: 16px !important;
	gap: 12px !important;
}

.ai-share-step-number {
	flex-shrink: 0 !important;
	width: 28px !important;
	height: 28px !important;
	border-radius: 50% !important;
	background: var(--color-primary) !important;
	color: white !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-weight: 600 !important;
	font-size: 16px !important;
}

.ai-share-step-content {
	flex: 1 !important;
	line-height: 1.6 !important;
	color: #374151 !important;
	font-size: 16px !important;
}

.ai-share-step-content strong {
	color: #1f2937 !important;
	font-weight: 600 !important;
}

.ai-share-tip {
	background: #dbdbdb !important;
	padding: 14px 16px !important;
	margin-top: 20px !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	color: var(--color-primary) !important;
	border-radius: 6px !important;
}

.ai-share-tip strong {
	color: #78350f !important;
	font-weight: 600 !important;
}

.ai-share-downloads {
	margin: 24px 0 0 0 !important;
	padding: 20px !important;
	background: #dbdbdb !important;
	border-radius: 8px !important;
	border: 1px solid #dfdffb !important;
}

.ai-share-downloads h4 {
	margin: 0 0 8px 0 !important;
	color: var(--color-primary) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
}

.ai-download-note {
	font-size: 16px !important;
	color: #2e2ead !important;
	margin: 0 0 16px 0 !important;
	line-height: 1.4 !important;
}

.ai-download-links {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 12px !important;
}

.ai-download-link {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	padding: 12px 8px !important;
	background: white !important;
	border: 1px solid #e0f2fe !important;
	border-radius: 8px !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.1s ease !important;
	color: #0c4a6e !important;
	-webkit-tap-highlight-color: transparent;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

.ai-download-link:active {
	background: #f0f9ff !important;
	transform: scale(0.96) translateZ(0) !important;
	-webkit-transform: scale(0.96) translateZ(0) !important;
}

.ai-download-icon {
	margin-bottom: 8px !important;
}

.ai-download-icon img{
	border: 1px solid lightgray;
	border-radius: 16px !important;
}
.ai-download-link span {
	font-size: 14px !important;
	font-weight: 500 !important;
	text-align: center !important;
	color: var(--color-primary) !important;
}

.ai-share-screen-intro {
	font-size: 16px !important;
	color: #6b7280 !important;
	margin: 16px 0 8px 0 !important;
	text-align: center !important;
	font-weight: 500 !important;
}

.ai-scroll-indicator {
	position: absolute;
	left: 50%;
	bottom: 14px;
	cursor: pointer;
	opacity: .5;
	transition: opacity .25s ease;
	will-change: opacity, transform;
	z-index: 2;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	user-select: none;
	touch-action: manipulation;
}

.ai-scroll-indicator.hidden {
	opacity: 0;
	pointer-events: none;
}

@keyframes ai-chevron-bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50%      { transform: translate(-50%, 6px); }
}

.ai-scroll-indicator svg {
	width: 34px;
	height: 34px;
	display: block;
	animation: ai-chevron-bounce 1.4s ease-in-out infinite;
	fill: rgba(0,0,153,.78); /*rgba(0,0,153,.78) = #000099*/
	filter: drop-shadow(0 1px 1px rgba(255,255,255,.85))
	        drop-shadow(0 0 2px rgba(0,0,0,.45));
}

.ai-scroll-indicator svg path {
	fill: rgba(0,0,153,.78);
	stroke: rgba(255,255,255,.95);
	stroke-width: 1;
	paint-order: stroke fill;
	stroke-linejoin: round;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.ai-scroll-indicator svg { animation: none; }
}

/* Higher contrast accessibility */
@media (prefers-contrast: more) {
	.ai-scroll-indicator svg path {
		fill: rgba(0,0,0,.9);
		stroke: #fff;
		stroke-width: 1.25;
	}
}

/* =============================================================================
   13. MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================================================= */

/* --- Hover Effects (for devices that support hover) --- */
@media (hover: hover) {
	#DivResumen summary:hover {
		background-color: #e0e0e0;
	}
}

/* --- Responsive Adjustments for Toolbar --- */
@media (max-width: 480px) {
	.article-toolbar {
		gap: 6px;
		padding: 6px;
	}

	.toolbar-btn, .toolbar-btn-link {
		width: var(--btn-size-small);
		height: var(--btn-size-small);
	}
}

/* --- Mobile Portrait (Default - up to 580px) --- */
@media only screen and (max-width: 580px) {
	:root {
		--page-margin: 2vw;
	}

	/* Solicitado por AE 01/07/2025 */
	div[id^='DivFirstpage']:not([style="display:block"]):not(:has(#DivFirst1)) {
		--page-margin: 1vw;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id='zoomHolder'] {
		height: 0vh;
	}

	p[id='DetailPageMobile1_VideoDiv'] {
		text-align: center;
		display: none !important;
	}
	
	div[id^='pageAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 3vh;
	}

	div[id^='adContainer']:not([data-type="dynamic"]) {
		border-top: 3vh solid white;
	}

	div[id^='addedAdContainer'] {
		border-top: 3vh solid white;
	}

	.pag_slider[seccion="Publicidad"] div[id^='DivFirstpage'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}
}

/* --- Zoomed Fold/Honor Devices (588-590px) --- */
@media only screen and (min-width: 588px) and (max-width: 590px) {
	.pag_nota img:first-child,
	div[id^='adContainer']:first-child img:first-child {
		margin-top: 1vh;
	}

	div[id^='DivFirstpage']:not([style="display:block"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='pageAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 3vh;
	}
}

/* --- Zoomed Normal Devices (818-820px) --- */
@media only screen and (min-width: 818px) and (max-width: 820px) {
	div[id^='DivFirstpage']:not([style="display:block"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='pageAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 3vh;
	}
}

/* --- iPhone 5 Portrait & Landscape (320-720px) --- */
@media only screen and (min-device-width: 320px) and (max-device-width: 720px) {
	.contenedor_der_nota_rank {
		float: right;
		width: 51%;
	}

	.instalar {
		display: none;
		margin-left: -96px;
	}

	.imgsRanking {
		height: auto;
		margin-bottom: 5px;
		border-color: var(--color-black);
		float: none;
		clear: both;
	}
}

/* --- FOLDABLE DEVICES: Z-Fold 2/3 (590-800px with high DPR) --- */
@media only screen and (min-width: 590px) and (max-width: 800px) and (-webkit-min-device-pixel-ratio: 2.5) {
	
	/* Z-Fold Specific Overrides for Ad Section Layout */
	button[class="ai-share-trigger"] svg {
		width: 18px;
		height: auto;
	}

	/* Make info_ads/info_visible a flex container with wrapping */
	#info_ads, #info_visible {
		display: flex !important;
		/*flex-wrap: wrap !important;*/
		justify-content: space-between !important;
		align-items: center !important;
		gap: 8px !important;
		width: 100% !important;
		font-size: 100%;
		padding: 0;
		margin: 0;
	}

	/* Make all wrapper divs transparent so children can participate in flex layout */
	#descripcionADS {
		display: contents !important;
	}

	.ai-share-container {
		display: contents !important;
	}

	#contacto_ads {
		display: contents !important;
	}

	/* Order: Button first */
	.ai-share-left {
		order: 1 !important;
		display: flex !important;
		flex-shrink: 0 !important;
	}

	/* Order: Video icon second */
	#social {
		order: 2 !important;
		display: flex !important;
		align-items: center !important;
		margin: 0 !important;
		flex-shrink: 0 !important;
	}

	/* Order: Link IA third */
	.ai-share-right {
		order: 3 !important;
		display: flex !important;
		flex-shrink: 0 !important;
		/*float: right;*/
		justify-content: flex-end !important;
	}

	/* Order: Download links fourth - FULL WIDTH on second row */
	#descarga {
		order: 4 !important;
		width: 100% !important;
		flex-basis: 100% !important;
		display: flex !important;
		flex-direction: row !important;
		gap: 8px !important;
		margin: 8px 0 0 0 !important;
	}

	#descarga a {
		flex: 1 !important;
		justify-content: center !important;
		text-align: center !important;
		font-size: 13px !important;
		color: var(--color-primary);
	}

	#descarga a img {
		display: none !important;
	}

	/* Hide phone number */
	#telefono {
		display: none !important;
	}

	/* Style the video icon */
	#social ul {
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		display: flex !important;
		align-items: center !important;
	}

	#social li {
		display: flex !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#social a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 24px !important;
		height: 24px !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	#social img {
		width: 24px !important;
		height: 24px !important;
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Contact button styling - Z-Fold specific override */
	.contact-button {
		font-size: 15px;
		width: 100%;
		padding: 5px;
		color: var(--color-primary);
		text-decoration: underline;
		font-weight: bold;
		text-align: center;
		border: 0;
		vertical-align: middle;
		background-color: rgb(0, 0, 0, 0);
	}

	.contact_cell img {
		height: 15px;
		vertical-align: middle;
	}

	#contacto_ads img {
		height: 15px;
		vertical-align: middle;
		width: 20px !important;
		height: 20px !important;
	}

	#social li img {
		height: 15px;
		margin-left: 2vw;
	}

	/* Page spacing and borders */
	.pag_nota img:first-child,
	div[id^='adContainer']:first-child img:first-child {
		margin-top: 2vh;
	}

	div[id='zoomHolder'] {
		height: 0vh;
	}

	div[id^='DivFirstpage']:not([style="display:block"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		min-height: var(--page-height);
	}

	div[id^='pageAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		min-height: var(--page-height);
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	div[id^='adContainer']:not([data-type="dynamic"]) {
		border-top: 1vh solid white;
	}

	div[id^='addedAdContainer'] {
		border-top: 1vh solid white;
	}

	.pag_slider[seccion="Publicidad"] div[id^='DivFirstpage'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	/* Slider styling */
	.rsSlide {
		border-left: 0.2vw solid rgb(204, 204, 204);
	}

	#img-slider-container {
		border-top: 1vh solid white;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	#DetailPageMobile1_lstNewsDetail_ctl00_p_imagenesHTML:not(:empty) {
		border-top: 1vh solid white;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	#zoomHolder .rsSlide {
		border-left: 0.1vw solid rgb(204, 204, 204);
	}

	/* Page selector and misc */
	.rv_icon_pag img {
		width: 20px;
		margin: -5px 5px 5px 30px;
	}

	#selectPage {
		font-size: 15px;
	}

	#DetailPageMobile1_MasInfoADS:empty {
		display: none;
	}

	p[id='DetailPageMobile1_VideoDiv'] {
		text-align: center;
		display: none !important;
	}

	p[id='DetailPageMobile1_VideoDiv'] img {
		width: 15px;
		height: 15px;
	}
}

/* --- TABLETS: General (800-1280px) --- */
@media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1) {
	.instalar {
		display: none;
		margin-left: -30%;
	}

	.imgsRanking {
		width: 245px;
		height: auto;
		float: none;
		clear: both;
	}

	.TITmediummodulosIPHONE {
		font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
		font-style: normal;
		font-weight: bold;
		text-align: left;
		text-decoration: underline;
		color: var(--color-link);
		font-size: 24px;
	}

	.TITmediummodulosIPHONE:visited {
		color: var(--color-link);
	}

	.TextBigIndicesRanking {
		font-weight: bold;
		font-size: 22px;
		margin: 1pt 1pt 1pt 3pt;
		color: var(--color-dark-blue);
		font-style: normal;
		font-family: Trebuchet MS;
	}

	.TextBigSubTitleRanking {
		font-size: 18px;
		margin: 1pt 1pt 1pt 3pt;
		color: Black;
		font-style: normal;
		font-family: Trebuchet MS;
	}

	.SectionModulosBig {
		font-family: Trebuchet MS;
		font-size: 16px;
		font-style: normal;
		font-weight: bold;
		color: var(--color-dark-blue);
		margin: 1pt 1pt 1pt 3pt;
	}

	#Dranking div#img_nota {
		display: block;
		float: left;
		margin-right: 2px;
		overflow: hidden;
		max-height: 160px;
		margin-bottom: 2px;
	}
}

/* --- iPad Mini Portrait & Landscape (768-1024px) --- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	.instalar {
		display: none;
		margin-left: -30%;
	}

	.imgsRanking {
		width: 245px;
		height: auto;
		float: none;
		clear: both;
	}

	#Dranking div#img_nota {
		display: block;
		float: left;
		margin-right: 2px;
		overflow: hidden;
		max-height: 300px;
		margin-bottom: 2px;
		width: 42%;
	}

	.TITmediummodulosIPHONE {
		font-family: Arial, Helvetica, sans-serif, Trebuchet MS;
		font-style: normal;
		font-weight: bold;
		text-align: left;
		text-decoration: underline;
		color: var(--color-link);
		font-size: 24px;
	}

	.TITmediummodulosIPHONE:visited {
		color: var(--color-link);
	}

	.TextBigIndicesRanking {
		font-weight: bold;
		font-size: 22px;
		margin: 1pt 1pt 1pt 3pt;
		color: var(--color-dark-blue);
		font-style: normal;
		font-family: Trebuchet MS;
	}

	.TextBigSubTitleRanking {
		font-size: 18px;
		margin: 1pt 1pt 1pt 3pt;
		color: Black;
		font-style: normal;
		font-family: Trebuchet MS;
	}

	.SectionModulosBig {
		font-family: Trebuchet MS;
		font-size: 16px;
		font-style: normal;
		font-weight: bold;
		color: var(--color-dark-blue);
		margin: 1pt 1pt 1pt 3pt;
	}
}

/* --- Z-Fold Landscape Adjustments (828-830px landscape) --- */
@media only screen and (min-width: 828px) and (max-width: 830px) and (orientation: landscape) {
	:root {
		--page-margin: 2vw;
	}
}

/* --- Honor V2 Open Portrait (718-720px portrait) --- */
@media only screen and (min-width: 718px) and (max-width: 720px) and (orientation: portrait) {
	:root {
		--page-margin: 7.5vw;
	}
}

/* --- Honor V2 Open Landscape (748-750px landscape) --- */
@media only screen and (min-width: 748px) and (max-width: 750px) and (orientation: landscape) {
	:root {
		--page-margin: 3vw;
	}
}

/* --- Honor V2 Open Portrait Alternative (748-750px portrait) --- */
@media only screen and (min-width: 748px) and (max-width: 750px) and (orientation: portrait) {
	:root {
		--page-margin: 3vw;
	}
}

/* --- DUAL PAGE MODE: Landscape Tablets (>=820px landscape) --- */
@media only screen and (min-width: 820px) and (orientation: landscape) {
	div[id='zoomHolder'] {
		height: 0vh;
	}

	div[id^='DivFirstpage']:not([style="display:block"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 2vh solid white;
	}

	div[id^='adContainer']:not([data-type="appended"]) {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 2vh solid white;
	}

	div[id^='appendedAd'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 2vh solid white;
	}

	.pag_slider[seccion="Publicidad"] div[id^='DivFirstpage'] {
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
		border-top: 2vh solid white;
	}

	.rsSlide {
		border-left: 0.1vw solid rgb(204, 204, 204);
	}

	div[id^='DivFirst'] {
		height: auto;
		min-height: var(--page-height);
	}

	div[id^='pageAd'] {
		height: auto;
		min-height: var(--page-height);
	}

	#img-slider-container {
		border-top: 5px solid white;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	#DetailPageMobile1_lstNewsDetail_ctl00_p_imagenesHTML:not(:empty) {
		border-top: 5px solid white;
		border-left: var(--page-margin) solid white;
		border-right: var(--page-margin) solid white;
	}

	#zoomHolder .rsSlide {
		border-left: 0.1vw solid rgb(204, 204, 204);
	}

	#zoomHolder [data-type="dynamic"] {
		border-left: 0.1vw solid rgb(204, 204, 204);
	}

	.rv_icon_pag img {
		width: 20px;
		margin: -5px 5px 5px 30px;
	}

	#selectPage {
		font-size: 15px;
	}

	/* Tablet Landscape Specific Overrides for Ad Section */
	#info_ads {
		display: none;
		width: 100%;
		font-family: Verdana;
		font-size: 125%;
		text-align: center;
		margin-right: 5px;
		margin-top: 5px;
	}

	#info_visible {
		display: block;
		width: 100%;
		margin: 0;
		font-family: Verdana;
		font-size: 125%;
		text-align: center;
		margin-right: 5px;
		margin-top: 5px;
	}

	.contact-button {
		font-size: 16px;
		width: 100%;
		color: var(--color-primary);
		text-decoration: underline;
		font-weight: bold;
		text-align: center;
		border: 0;
		vertical-align: middle;
		background-color: rgb(0, 0, 0, 0);
	}

	.contact_cell {
		height: auto;
		vertical-align: middle;
		line-height: 0;
		text-align: left;
		display: block;
	}

	.contact_cell img {
		height: 25px;
		vertical-align: middle;
	}

	#contacto_ads img {
		height: 25px;
		vertical-align: middle;
	}

	#social li img {
		height: 25px;
		margin-left: 2vw;
	}

	p[id='DetailPageMobile1_VideoDiv'] {
		display: none !important;
	}

	#telefono, #telefono img {
		display: none;
	}
}

/* =============================================================================
   END OF REFACTORED CSS
   ============================================================================= */